package org.example.sdk;

import java.io.Serializable;

public class JitResult implements Serializable {
    /**
     * 结果成功标识
     */
    private boolean isSuccess;
    /**
     * 错误信息
     */
    private String errorMsg;
    /**
     * 错误码
     */
    private String errCode;
    /**
     * 数据
     */
    private Object data;

    public JitResult(String errorMsg, String errCode, Object data) {
        this.errorMsg = errorMsg;
        this.errCode = errCode;
        this.data = data;
    }

    public JitResult() {
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public String getErrorMsg() {
        return errorMsg;
    }
    public String getErrCode() {
        return errCode;
    }
    public Object getData() {
        return data;
    }
    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }
    public void setData(Object data) {
        this.data = data;
    }
}
